package com.mingte.manghe.dao;

import com.mingte.manghe.entity.PersonInfoEntity;
import com.mingte.manghe.entity.PersonInfoEntityExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PersonInfoEntityMapper {
    long countByExample(PersonInfoEntityExample example);

    int deleteByExample(PersonInfoEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PersonInfoEntity record);

    int insertSelective(PersonInfoEntity record);

    List<PersonInfoEntity> selectByExample(PersonInfoEntityExample example);

    PersonInfoEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PersonInfoEntity record, @Param("example") PersonInfoEntityExample example);

    int updateByExample(@Param("record") PersonInfoEntity record, @Param("example") PersonInfoEntityExample example);

    int updateByPrimaryKeySelective(PersonInfoEntity record);

    int updateByPrimaryKey(PersonInfoEntity record);
}